package com.ruoyi.mateproduction.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MateReturnModel {
    private Long mateReturnId;//退货单主键id
    private Long deptId;
    private Long mateReturnModelId;//副表主键id
    private Long mateProductId;//原材料的主键id
    private String enterNum;//批号
    private String mateProductName;//原材料名称
    private String mateProductType;//原材料型号
    private Long materialId;//供应商id
    private String unit;//退货单位
    private String remark;//备注
    private String materialName;
    private String returnResult;//退货原因
    private Long allNum;//数量
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    public Long getAllNum() {
        return allNum;
    }

    public void setAllNum(Long allNum) {
        this.allNum = allNum;
    }

    public Long getMateProductId() {
        return mateProductId;
    }

    public void setMateProductId(Long mateProductId) {
        this.mateProductId = mateProductId;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public Long getMateReturnId() {
        return mateReturnId;
    }

    public void setMateReturnId(Long mateReturnId) {
        this.mateReturnId = mateReturnId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getMateReturnModelId() {
        return mateReturnModelId;
    }

    public void setMateReturnModelId(Long mateReturnModelId) {
        this.mateReturnModelId = mateReturnModelId;
    }

    public String getEnterNum() {
        return enterNum;
    }

    public void setEnterNum(String enterNum) {
        this.enterNum = enterNum;
    }

    public String getMateProductName() {
        return mateProductName;
    }

    public void setMateProductName(String mateProductName) {
        this.mateProductName = mateProductName;
    }

    public String getMateProductType() {
        return mateProductType;
    }

    public void setMateProductType(String mateProductType) {
        this.mateProductType = mateProductType;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getReturnResult() {
        return returnResult;
    }

    public void setReturnResult(String returnResult) {
        this.returnResult = returnResult;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }
}
